package com.whenjun.mapper;

import com.whenjun.dto.kq.KqDoorData;
import com.whenjun.dto.kq.KqV2DTO;
import com.whenjun.entity.Kq;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author whenjun
 * @since 2024-02-28
 */
public interface KqMapper extends BaseMapper<Kq> {

    int initKqData(@Param("yyyyMMdd") String yyyyMMdd);

    List<KqDoorData> selectByDateAndGroupCode(@Param("yyyyMMdd") String yyyyMMdd, @Param("groupCode") String groupCode);

    List<KqV2DTO> KqV2DTO(@Param("startDate") String startDate, @Param("endDate") String endDate);
}
